package com.xinyue.dz.service;

import com.xinyue.dz.bean.Role;
import java.util.List;

public interface RoleService {
	//默认方法
	public void save(Role entity);
	public Integer deleteById(int roleId);
	public void update(Role entity);
	public void saveOrUpdate(Role entity);
	public Role queryById(int roleId);
	public List<Role> queryAll(int begin, int count);
	public Long queryCount();
}